package com.ym.design;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class ApiTest {

    private static Logger logger = LoggerFactory.getLogger(ApiTest.class);

    public static void main(String[] args) {
        CacheService cacheService = new CacheClusterServiceImpl();

        cacheService.set("user_name_01", "YM", 1);
        String val01 = cacheService.get("user_name_01", 1);
        logger.info("缓存集群升级，测试结果：{}", val01);

    }


}
